<!-- table列表数据显示  -->
@forelse  ($list as $k=>$v)
    @inject('CommonPresenter','App\Presenters\CommonPresenter');
    <tr>
        <td>
            @component('component/checkbox',['checkbox'=>[''],'data_value'=>$v['id'],'name'=>['check_ids'],'custom_class'=>"checkone checkbox"])
            @endcomponent
        </td>

		<td><img src="@if(empty($v['avatar']))/images/defaultHead.png @else{{$v['avatar']}}@endif" style="width: 45px"/> {{$v['username']}}</td>
        <td>{{$lv_id_list[$v['lv_id']]}}</td>
        <td>{{$v['nickname']}}</td>
		<td>{{$v['mobile']}}</td>
		<td>{{$v['email']}}</td>
		<td>{{$v['balance']}}</td>
        <td>
        @component('component/switch',['field'=>'status','value' => $v['status'],'data_id' => $v['id'],'data_url'=>URL::asset('/member/index/update')])
        @endcomponent
        </td>
        <td>{{$CommonPresenter->exchangeTime($v['created_at'])}}</td>
		<td>
		<p >
            <span class="oa_operate op_tbl btn-dialog" data-area="['65%', '70%']" data-url="{{URL::asset('/member/index/form')}}?id={{$v['id']}}" data-title = "编辑">编辑</span>
            <span class="btn-del oa_operate op_tbl" data-url="{{URL::asset('/member/index/del')}}/{{$v['id']}}" data-title="删除记录" data-text="您确认要删除此记录吗?" style="color:red !important;">删除</span>
        </p>
		</td>
    </tr>
    @empty
    <tr>
        <td colspan=10>暂无记录</td>
    </tr>
@endforelse
